<!DOCTYPE html>
<html>
<head>
	<title></title>
	<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap-theme.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>

<!-- 自动接收update方法传来的user变量用户名：{$user.username}；
电话：{$user.tele|default='没有电话号码'}；-->
<form name="f1" method="post" action="addpractices" enctype="multipart/form-data" class="form-horizontal">
<h1 align="center">社团活动添加</h1>

	<div class="form-group">
		<label for="inputName" class="col-md-2 control-label">社团名称</label>
		<div class="col-md-10">
		<input type="text" class="form-control" id="pname"  name="pname"  placeholder="Name"/>
	</div>
	</div>
	 <div class="form-group">
		<label for="inputName" class="col-md-2 control-label">所属社团</label>
		<div class="col-md-10">
		<input type="text" class="form-control" id="groupname"  name="groupname"  placeholder="Name"/>
	</div>
	</div> 
	<div class="form-group">
		<label for="inputName" class="col-md-2 control-label">发布人</label>
		<div class="col-md-10">
		<input type="text" class="form-control" id="puser"  name="puser"  placeholder="Name"/>
	</div>
	</div>
	<div class="form-group">
		<label for="inputbirthday" class="col-md-2 control-label">发布日期</label>
		<div class="col-md-10">
			<input type="date" namedate="pdate" name="pdate" id="pdate" >
		</div>
	</div>
	<div class="form-group">
		<label for="inputbirthday" class="col-md-2 control-label">活动日期</label>
		<div class="col-md-10">
			<input type="date" namedate="ptime" name="ptime" id="ptime" >
		</div>
	</div>
	<div class="form-group">
		<label for="inputName" class="col-md-2 control-label">活动地点</label>
		<div class="col-md-10">
		<input type="text" class="form-control" id="place"  name="place"  placeholder="Name"/>
	</div>
	</div>
	<div class="form-group">
		<label for="inputintro" class="col-md-2 control-label">活动介绍</label>
		<div class="col-md-10">
			<textarea name="intro" cols="50" rows="5" class="form-control" value=""></textarea>
		</div>
	</div>
	<div class="form-group">
		<label for="pic" class="col-md-2 control-label">文件</label>
		<div class="col-md-10">
			<input type="file" name="pfile" />
		</div>
	</div>	
	<div class="form-group">
		<label for="inputintro" class="col-md-2 control-label">注意事项</label>
		<div class="col-md-10">
			<textarea name="matters" cols="50" rows="5" class="form-control" value=""></textarea>
		</div>
	</div>
		<div class="form-group">
        <label for="state" class="col-md-2 control-label">状态</label>
        <div class="col-md-2">
            <select class="form-control" name="state" id="state">
                <option value="0">禁止发布</option>
                <option value="1">允许</option>
            </select>
        </div>
    </div>

		<div class="form-group">
		<div class="col-sm-offset-2 col-sm-10">
			<input class="btn btn-default" type="submit" value="提交">
			<input class="btn btn-default" type="reset" value="重置">
		</div>
	</div>
</form>
</body>
</html>